<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		<script type="text/javascript"
			src="../../../script/lhgdialog/lhgdialog.min.js">
</script>

		<script type="text/javascript">
function doQuery() {
	document.form1.action = "${path}/report/base/index/agentubroker";
	document.form1.submit();
}
$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
function doExport(type) {
	document.form1.action = "${path}/report/base/index/getagentubroker?type="+type;
	document.form1.submit();
}
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						营业部基本情况统计表
						<div class="tools-btn" style="width: 250px;">
							<a href="####" onclick="doExport('pdf')"><span> <img
										src="${path}/statics/images/dcpdf.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出PDF</span> </a>
							<a href="####" onclick="doExport('excel')"><span> <img
										src="${path}/statics/images/dcexcel.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />导出EXCEL</span> </a>
							<a href="####" id="fullScreen"><span> <img
										src="${path}/statics/images/qp.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />全屏</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">
						<div class="search">
							<table width="100%" border="0" cellspacing="0" cellpadding="10"
								class="table_form">

								<tr>
									<td align="right">
										统计时间：
									</td>
									<td>
										<input type="text" readonly="readonly" id="reportdate"
											class="input-txt" name="reportdate" value="${reportdate}"
											onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
									</td>
									<td align="right">
										<input name="Input" type="button" class="linkbtn2"
											value="查  询" onclick="doQuery()" />
									</td>
								</tr>
							</table>
						</div>
						<!-- 查詢列表 -->
						<div id="mylist" style="height: 365px;" class="dlist">
							<table id="mytable" cellpadding="0" cellspacing="0"
								class="dg_borderstyle  trStyleTable"
								style="margin-top: 0px; text-align: center;">
								<tr>
									<th name="fixcol"><span>序号</span></th>
									<th style="min-width: 80px;" name="fixcol">
										分公司
									</th>
									<th style="min-width: 80px;">
										督导区
									</th>
									<th style="min-width: 80px;">
										营业部代码
									</th>
									<th style="min-width: 100px;">
										营业部
									</th>
									<th width="80px">
										预收价值保费&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										月度核保&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										年度核保&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										注册人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="80px">
										本月新增人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="80px">
										当日新增人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="80px">
										本月离职人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										活动人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										持证人力&nbsp;&nbsp;&nbsp;
									</th>
									<th>
										有增员活动行为人数&nbsp;&nbsp;&nbsp;
									</th>
									<th>
										新增员活动行为人数&nbsp;&nbsp;&nbsp;
									</th>
									<th width="70px">
										主管人数&nbsp;&nbsp;&nbsp;
									</th>
									<th width="80px">
										主管活动人力&nbsp;&nbsp;&nbsp;
									</th>
								</tr>
								<c:forEach items="${pagination1.resultList}" var="list" varStatus="ind">
									<tr>
										<td>${(ind.index+1)}</td>
										<td>
											${list.branchname}
										</td>
										<td>
											${list.ubranchname}
										</td>
										<td>
											${list.cbranchcode}
										</td>
										<td>
											${list.cbranchname}
										</td>

										<td>
											${list.col1}
										</td>
										<td>
											${list.col2}
										</td>
										<td>
											${list.col3}
										</td>
										<td>
											${list.col4}
										</td>
										<td>
											${list.col5}
										</td>
										<td>
											${list.col6}
										</td>
										<td>
											${list.col7}
										</td>
										<td>
											${list.col8}
										</td>
										<td>
											${list.col9}
										</td>
										<td>
											${list.col10}
										</td>
										<td>
											${list.col11}
										</td>
										<td>
											${list.col12}
										</td>
										<td>
											${list.col13}
										</td>
									</tr>
								</c:forEach>
							</table>
						</div>
					</div>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>
